package moriarty.gwt.server.persistence;

import moriarty.gwt.shared.DataStoreObject;



/**
 * An Objectify class for using persistent storage on the google app engine.
 * 1. Must have an @Id of type Long, long, or String (recommend Long)
 * 2. Must register class (this is done in the ObjectifyRegistrar class, which extends ContextListener)
 * 3. Add the registrar to the web.xml as a <listener>
 * @author cmoriarty
 *
 */
public class Subscriber extends DataStoreObject{

	public String name;
	public String email;
	
	//Objectify needs a blank constructor
	public Subscriber(){}

	public Subscriber(String name, String email) {
		this.name = name;
		this.email = email;
	}
}
